<?php require_once('../../core/import.php');?>
<?php User::Permission('EJOURNAL_ADD'); ?>
<?php
    if($_SERVER['REQUEST_METHOD']=='POST')
    {
        #添加数据
        DB::Insert('ejournal',array
        (
            'Title'=>Functions::FormArgs('Title'),
            'ReleaseDate'=>Functions::FormArgs('ReleaseDate'),
            'Location'=>Functions::FormArgs('Location'),
			'Headline_Title'=>Functions::FormArgs('Headline_Title'),
			'Headline_Summary'=>Functions::FormArgs('Headline_Summary',NULL,FALSE),
			'M_Count_Online'=>0,
            'Datetime'=>date('Y-m-d G:i:s')
        ));
        //信息统计
		User::Statistics_User('EJOURNAL_ADD','ejournal','资讯版块');
        echo '{"Number":"0","Description":"成功执行"}';
    }
?>